package com.cjs.example.provider.api;

import java.util.Map;

/**
 * @Author: ChengJianSheng
 * @Date:   2022/12/6
 */
public interface WorkflowService {

    void deploy();

    void start();

    void startProcessInstance(String processDefinitionKey, String businessKey, Map<String, Object> variables, String tenantId);

    void processInstancePage(int pageNo, int pageSize);

    void taskList();

    void claimTask();

    void completeTask();
}
